import backGround from '@/layout/backGround.vue';
import Factory from '@/pages/Factory/index.vue';
import Management from '@/pages/Management/management.vue';
import Interfaceto from '@/pages/Interfaceto/index.vue';
import PeopleRejister from '@/pages/Interfaceto/subpage/peopleRejister.vue';
import Standard from '@/pages/standard/index.vue';
import Asset from '@/pages/asset/index.vue';
import addAss from '@/pages/asset/addAssets.vue';
import { test } from 'vitest';
import test1 from '@/pages/asset/validata.vue';
export default [
  {
    path: '/',
    redirect: '/home/Interfaceto',
  },
  {
    name: 'test',
    path: '/test',
    component: test1,
  },
  {
    name: 'home',
    path: '/home',
    component: backGround,
    meta: {
      title: '数据工场',
    },
    children: [
      {
        path: 'Standard',
        name: 'Standard',
        component: Standard,
      },
      {
        path: 'Factory',
        name: 'Factory',
        component: Factory,
      },
      {
        path: 'Interfaceto',
        name: 'Interfaceto',
        component: Interfaceto,
      },
      {
        path: 'peopleRejister',
        name: 'peopleRejister',
        component: PeopleRejister,
      },
      {
        path: 'Management',
        name: 'Management',
        component: Management,
      },
      {
        path: 'Asset',
        name: 'Asset',
        component: Asset,
      },
      {
        path: 'addAss',
        name: 'addAss',
        component: addAss,
      },
    ],
  },
];
